{include file="public/greenheader"}
{css href="/static/css/page.css"}

<!-- Start of Page Container -->
<div class="page-container">
    <div class="container">
        <div class="row">
            <!-- start of page content -->
            <div class="span8 page-content">
                <ul class="breadcrumb">
                    <li><a href="#">Knowledge Base</a><span class="divider">/</span></li>
                    <li><a href="#" title="View all posts in Server &amp; Database">{$tag}</a>
                        <!--<span class="divider">/</span></li>-->
                    <!--<li class="active"></li>-->
                </ul>
                <div class="list">
                    <div class="table-responsive">
                        <table class="table">
                            {volist name="list" id="vo"}
                            <tr>
                                <td><a href="{:url('/single/' . $vo.id )}" title="{$vo.title}" target="_blank">{$vo.title}</a></td>
                                <td>日期:{$vo.createtime|date="Y-m-d"}</td>
                            </tr>
                            {/volist}
                        </table>
                    </div>
                    <div class="text-center">
                        {$list|raw}
                    </div>
                </div>
            </div>
            <!-- end of page content -->


            <!-- start of sidebar -->
            <aside class="span4 page-sidebar">

                <section class="widget">
                    <h3 class="title">Tags</h3>
                    <div class="tagcloud">
                        {volist name='tags' id="t"}
                        {if $t.tag == 'node.js'}
                        <a href="{:url('/list/node')}" class="tag btn btn-mini">{$t.tag}</a>
                        {else/}
                        <a href="{:url('/list/' . $t.tag)}" class="tag btn btn-mini">{$t.tag}</a>
                        {/if}
                        {/volist}
                    </div>
                </section>


                <section class="widget">

                </section>


                <section class="widget">

                </section>

                <section class="widget">


                </section>

            </aside>
            <!-- end of sidebar -->
        </div>
    </div>
</div>
<!-- End of Page Container -->

{include file="public/footer"}

</body>
</html>
